package com.xuhaijian.feign;

import com.xuhaijian.entity.OrderPayment;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;
@FeignClient(name = "son-service")
public interface SonFeignClient {
    @RequestMapping("/queryData/{applyNo}")
    List<OrderPayment> queryData(@PathVariable("applyNo") String applyNo);
}
